
package dto;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import model.command.CommandTypeEnum;

import java.io.Serializable;

@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class RespDTO implements Serializable {
    private CommandTypeEnum commandType;
    private RespStatusTypeEnum status;
    private String value;

//    public RespDTO(CommandTypeEnum commandTypeEnum, RespStatusTypeEnum status, String value) {
//        this.commandType = commandTypeEnum;
//        this.status = status;
//        this.value = value;
//    }
//
//    public RespDTO() {
//    }

    @Override
    public String toString() {
        return "RespDTO{" +
                "commandType=" + commandType +
                ", status=" + status +
                ", value='" + value + '\'' +
                '}';
    }
}
